package com.rky.crowd.constant;

/**
 * @author 0x_Jss
 * @date 2022年02月09日 11:23
 * @description
 */
public interface CrowdConstant {
    String MESSAGE_LOGIN_FAILED = "登录失败！请确认账号密码是否正确！";
    String MESSAGE_STRING_INVALIDATE = "字符串不合法！请不要传入空字符串！";
    String MESSAGE_LOGIN_ACCT_ALREADY_IN_USE = "抱歉！这个账号已经被使用了！";
    String MESSAGE_ACCESS_FORBIDEN = "请登陆以后再访问！";
    String MESSAGE_SYSTEM_ERROR_LOGIN_NOT_UNIQUE = "系统错误：登录信息不唯一！";
    String MESSAGE_ACCESS_DENIED = "抱歉！您不能访问这个资源！";

    String ATTR_NAME_EXCEPTION = "exception";
    String ATTR_NAME_LOGIN_ADMIN = "loginAdmin";
    String ATTR_NAME_LOGIN_MEMBER = "loginMember";
    String ATTR_NAME_PAGE_INFO = "pageInfo";
    String ATTR_NAME_MESSAGE = "message";
    String ATTR_NAME_TEMPLE_PROJECT = "tempProject";

    String REDIS_CODE_PREFIX = "REDIS_CODE_PREFIX_";
    String MESSAGE_CODE_NOT_EXISTS = "验证码已过期，请检查手机号是否正确或重新发送！";
    String MESSAGE_CODE_INVALID = "验证码不正确！";
    String MESSAGE_HEADER_PIC_UPLOAD_FAILED = "头图上传失败！";

    String MESSAGE_HEADER_PIC_EMPTY = "头图不可为空！";
    String MESSAGE_DETAIL_PIC_EMPTY = "详情图片不可为空！";
    String MESSAGE_DETAIL_PIC_UPLOAD_FAILED = "详情图片上传失败！";
    String MESSAGE_TEMPLE_PROJECT_MISSING = "临时存储的Project对象丢失！";
    String ATTR_NAME_PORTAL_DATA = "portal_data";
}